home *** CD-ROM | disk | FTP | other *** search
- ST_LOGIN; (c) Kees Lemmens, 1993
-
- These tools give the possibity to login and communicate on an ATARI-ST
- over a remote line, such as a modem.
- There are also some simple tools to make life with MINT a little easier.
- Everything was developed with the MINT 0.95 Kernel on an ATARI STE 4
- with TOS 2.05.
-
- New in version 2:
- - (remote) REBOOT program
- - UNIX like TALK program (split window)
- - Fixed some minor problems in getty and revised the source code
- - Use of "Cookie-jar" to make things work on a normal ST (as far as possible !)
-
- New in version 3:
- - Reboot: Bug if running on ATARI's with only one serial port
- fixed. (It now first tests if a device exists before printing
- messages to a device).
- - Getty: Passwd file may contain UNIX-style entries for SHELL and
- HOMEDIR now.
- - Getty: Now looks for a file /etc/welcome and prints this file on
- screen if it exists. (on special request by Jeroen Berger !)
- - Getty: if a shell could not be started it prints an error
- message to the remote terminal.
-
- New in version 4:
- There is some more multiuser behaviour now :
- - Getty: Changes the uid and gid before starting a shell;
- Can only be run by root; Resets modem when terminating; New -i option
- to supply modem commands from the commandline.
- - Reboot: Can only be run by root.
- - Passwd: Root doesn't have to supply an old passwd anymore.
- - More: Can do multiple files now.
- - Tail: This is a new command added.
-
- cat.ttp :
-
- Show a file on screen or - if redirected - on another file or
- device.
-
- tee.ttp :
-
- Makes a copy of stdout to any other file or device. For instance to copy
- your shell session to any other screen as well as to your own.
- Default is to create the file, -a option can append to an existing file.
-
- Example: tcsh | tee /dev/modem1
-
- more.ttp:
-
- Provides a way to devide the output to the screen into pages.
- It will wait for a keypress before showing the next page. The screen
- output can be aborted by pressing 'q'.
- The slash (/) can be used to search forward for a given string.
- Uses LINES and COLUMNS environment variables or a reasonable default
- of 24x80.
-
- Examples: more filename.txt
- ls -la | more
-
- Can also do a list of files now.
-
- tail.ttp:
-
- To list the last <nr> of lines from a file. Quite pleasant with large
- logfiles and so on.
-
- getty.ttp:
-
- Starts a getty on a RS232 remote line. Remote line can be a hard-
- wired terminal ( -h option) or a Hayes modem. It provides all
- the necessary Hayes commands to control the modem line. (modem.c)
- Modemlines MUST be connected to the AUX port.
- Can also run in background or daemon mode (-d option)
-
- Logins and bad logins are logged in U:\ETC\WTMP and U:\ETC\BTMP.
- Uses U:\ETC\PASSWD to determine the passwords and login shells.
- Status of gettyline maintained in U:\ETC\UTMP.
- Take care: the encryption is NOT the UNIX encryption !!
-
- passwd.ttp:
-
- Provides a way to alter the password for the specified username.
- Must use the same encryption as in getty.ttp or else you won't
- be able to login !
-
- write.ttp:
-
- To write from one user to another (just like the UNIX write).
- You can specify the devicename instead of the username by using the -t
- option. This is necessary to write to the console when the user on the
- console did not login in a regular way (ie getty).
- Examples: write -t modem1 OR write root
- It sends a broadcast to the other screen and then echoes all input to
- the other terminal.
- If the other user wants to reply, he must start his own write session.
-
- talk.ttp:
-
- A more fancy way to communicate with other users is talk. Talk sends an
- invitation to the other screen and waits until the other side answers.
- Talk uses a pipe for communications.
- It needs two processes : one on each side of the pipe.
- This makes it impossible to use talk on an ATARI that doesn't run MINT !
-
- reboot.ttp:
-
- With this tool you can shutdown and reboot your ATARI from every con-
- nected terminal. It sends broadcasts every 5 minutes to all possible
- login terminals : console, modem1, modem2 and serial1.
- When there is less than 5 minutes left, it will broadcast every minute
- until shutdown time is reached.
- Default shutdown time is 5 minutes.
- The -c qualifier can be used to force a cold reboot (a warm reset is
- default).
-
- makefile:
-
- The makefile is intended for use with PURE_C and GNUMAKE. You'll
- have to adapt the PCC variable for the PURE_C directory and the
- MINT variable for the location of the MINT headerfiles.
- You can also compile of course in an interactive PURE_C environment
- or even with another compiler. In the latter case you'll have to alter
- a few headerfilenames and maybe a few things in the code.
-
- Any remarks or suggestions about these programs can be send to:
- lemmens@dv.twi.tudelft.nl
-
-
-